package com.xingshentech.ugv.operate.module.httpdata;

import com.xingshentech.ugv.operate.module.bean2.BaseResponseCenter;

public class ApiException extends RuntimeException {
    private com.xingshentech.ugv.operate.module.bean2.BaseResponseCenter mBaseResponse;

    public ApiException(com.xingshentech.ugv.operate.module.bean2.BaseResponseCenter baseResponse) {
        super(baseResponse.getError().getErrorMessage());
        this.mBaseResponse = baseResponse;
    }

    public void setBaseResponse(com.xingshentech.ugv.operate.module.bean2.BaseResponseCenter baseResponse) {
        this.mBaseResponse = baseResponse;
    }

    public BaseResponseCenter getBaseResponse() {
        return mBaseResponse;
    }

}
